package cn.harmonyoslearn.navrouter.actions;

import cn.harmonyoslearn.navrouter.models.InitNavInfoModel;
import cn.harmonyoslearn.navrouter.utils.UpdateUtil;
import com.intellij.openapi.actionSystem.ActionUpdateThread;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import org.jetbrains.annotations.NotNull;

public class InitNavInfoAction extends AnAction {
    @Override
    public void actionPerformed(@NotNull AnActionEvent e) {
        new InitNavInfoModel().actionPerformed(e);
    }

    @Override
    public void update(@NotNull AnActionEvent e) {
        UpdateUtil.initNavInfoActionUpdate(e);
    }
}
